package com.huawei.drive;

import android.app.Application;
import android.content.Context;

import com.huawei.cloud.base.auth.DriveCredential;
import com.huawei.drive.hms.CredentialManager;
import com.huawei.drive.hms.HmsProxyImpl;
import com.huawei.drive.utlis.TypefaceUtil;


public class MyApplication extends Application {
    private static Context mContent;

    @Override
    public void onCreate() {
        super.onCreate();
        TypefaceUtil.replaceSystemDefaultFont(this,"fonts/HuaweiSans-Regular.ttf");
        mContent = this;
        // Clean up the cache before the process starts.
        CredentialManager.getInstance().exit(this.getApplicationContext());


    }


    public static Context getContnet() {
        return mContent;
    }
}
